package com.bootdo.acitvity.DDD.domain.entity;

public class ChannelSoldAmount extends Stock{

    public ChannelSoldAmount(Long stockAmount){
        super(stockAmount);
    }

    @Override
    public ChannelSoldAmount add(Stock stock){
        return new ChannelSoldAmount(this.getStockAmount() + stock.getStockAmount());
    }
}
